home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
4_17.lha
/
4_17
/
4_17a14.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
464b
|
19 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ read a series of tokens up to the NL,
/ adding them to the given token list
oid xtoken_list(toklist *thislist)
// read definition & create list
tok *tokval;
while (tokval = get_token(), tokval->tok_type != NL)
if (tokval->tok_type == END)
error("end of file found");
else
addtok(thislist, tokval);